﻿using System.Collections.ObjectModel;
using System.Reflection;

namespace FishSimulation.Model
{
    public class WorldProperties : ModelBase
    {
        public static WorldProperties Instance
        {
            get;
            private set;
        }

        private string[] _PropertyNames;
        public string[] PropertyNames
        {
            get { return _PropertyNames; }
            set
            {
                if (_PropertyNames != value)
                {
                    _PropertyNames = value;
                    this.OnPropertyChanged("PropertyNames");
                }
            }
        }

        public WorldProperties()
        {
            this.PropertyNames = new string[0];
        }

        static WorldProperties()
        {
            Instance = new WorldProperties();
            Instance.PropertyNames = new string[] { "World.Ticks", "Pond.WaterTemp" };
        }
    }
}